﻿using Model;
using Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WZVTC.SoftDev.DDDFW.Domain.Core;
using WZVTC.SoftDev.DDDFW.Domain.Specification;
using WZVTC.SoftDev.DDDFW.EntityServices;

namespace EntityServices
{
    public class 物流信息Services:BaseServices<物流信息>
    {
         public 物流信息Services(IUnitOfWork _context, 物流信息Repository _Repository) : base(_context, _Repository)
        { }
         public 物流信息 GetById(int id)
        {
            ISpecification<物流信息> sp = new DirectSpecification<物流信息>(x => x.Id == id);
            return base.GetByCondition(sp);
        }
    }
}
